#include "Car.h"

Car::Car(Engine* engine)
{
	this->engine = engine;
}


Car::~Car()
{
	delete this->engine;
}

void Car::StartEngine()
{
	this->engine->Start();
}

void Car::StopEngine()
{
	this->engine->Stop();
}
